package org.bigtree.example.common.frame.config;

import org.bigtree.example.common.setup.ApplicationRunnerExample;
import org.bigtree.example.common.setup.CommandLineRunnerExample;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 初始化器配置
 *
 * @author bigTree
 * @since 2025/6/14
 */
@Configuration
public class SetupRunnerConfig {
    @Bean
    public ApplicationRunner applicationRunner() {
        return new ApplicationRunnerExample();
    }

    @Bean
    public CommandLineRunner commandLineRunner() {
        return new CommandLineRunnerExample();
    }
}
